/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2024-01-18
 * Time:15:50
 */
public class test1 {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        Mouse mouse = new Mouse();
        Keyboard keyboard = new Keyboard();
        computer.useService(mouse);
        System.out.println("============================");
        computer.useService(keyboard);
        computer.powerOff();
    }
}
